# Uncomment the next line to define a global platform for your project
 platform :ios, '12.0'

def pod_setting
  # 兼容M1
  post_install do |installer|
    
    installer.pods_project.build_configurations.each do |config|
      config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
    end
    
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
        config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
        config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
      end
    end
  end
end

target 'MonkeyPlayVideo' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  pod_setting
  
  # Pods for MonkeyPlayVideo
  pod 'LSTPopView'
  pod 'Masonry'
  pod 'GKNavigationBar'
  pod 'YYKit'
  pod 'JKCategories'
  
end
